﻿<Window x:Class="SelectableGridExample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:sc="clr-namespace:Leow.SelectableCanvas;assembly=Leow.SelectableCanvas"
        Title="Selectable Canvas Example" Height="300" Width="600" WindowStartupLocation="CenterScreen">
    <Grid>
        <ScrollViewer Grid.Row="1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
            <sc:SelectableCanvas Background="CornflowerBlue">
                <Border Background="Green" Padding="15">
                    <TextBox Text="TextBox in Border"/>
                </Border>
                <Label Content="Label"/>
                <ToggleButton Content="Button" Canvas.Left="100" Canvas.Top="80"/>
                <TextBox Text="TextBox" Canvas.Left="-5" Canvas.Top="100"/>
            </sc:SelectableCanvas>
        </ScrollViewer>
    </Grid>
</Window>
